package com.sbm.task;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@ConfigurationProperties(prefix = "scheduler")
@Data
public class ExecutorConfig {
    private int corePoolSize = 10;
    private int maxPoolSize = 100;
    private int keepAliveSeconds = 7200;
    private int queueCapacity = 500;
}
